package com.beep.erp;

import com.beep.erp.common.base.BasePresenter;
import com.beep.erp.common.base.BaseView;
import com.beep.erp.common.bean.LoginBean;
import com.beep.erp.common.bean.UpdateBean;

import java.util.ArrayList;

import rx.Observable;

/**
 * Created by Jolly on 2018/8/24.
 */

public interface MainContract {
    interface Model {
        Observable<UpdateBean> updateVison();

        ArrayList<MainModel.MainBean> getTabs();
    }

    interface View extends BaseView {
        void getDate();

        void getTabs();

        void updateVision(UpdateBean updateBean);
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void getTabs();

        public abstract void updateVison();
    }
}
